package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.ProcessContent;
import com.isunland.managesystem.entity.WorkProcessDetailList.ProcessRegistDetailContent;

public class WorkProcessDetailActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    ProcessRegistDetailContent detail =
        (ProcessRegistDetailContent) getIntent().getSerializableExtra(
            WorkProcessDetailFragment.EXTRA_VALUE);
    ProcessContent task =
        (ProcessContent) getIntent().getSerializableExtra(WorkProcessDetailFragment.EXTRA_TASK);
    return WorkProcessDetailFragment.newInstance(detail, task);
  }
}
